class AddStatusToInfos < ActiveRecord::Migration
  def self.up
    add_column :infos, :emails_spread_status,:string, :default => 'done'
    add_column :infos, :sms_spread_status, :string, :default => 'done'
    add_column :infos, :emailed_at,:datetime
    add_column :infos, :smed_at,:datetime
  end

  def self.down
    remove_columns :infos,
      :emails_spread_status,
      :sms_spread_status,
      :emailed_at,
      :smed_at
  end
end
